package com.mlnx.data.service;


import com.mlnx.common.form.PageForm;
import com.mlnx.data.entity.SugarInfo;
import com.mlnx.data.pojo.form.SugarInfoForm;
import com.mlnx.data.pojo.vo.SugarInfoVo;

import java.util.List;


public interface SugarDataService {

    void save(SugarInfo sugarInfo);

    void saveList(List<SugarInfo> list);

    void updateSugar(SugarInfo sugarInfo);

    void deleteSugars(List<SugarInfo> sugarInfos);

    SugarInfoVo getAllSugars(PageForm pageForm, SugarInfoForm sugarInfoForm);

    List<SugarInfo> getSugars(Integer patientId, Long startTime, Long endTime);
}
